package com.qingmeng.outsourcing.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Project implements Serializable {
    private Long id;

    @ApiModelProperty(value = "项目发布者id")
    private Long projiectPublisherId;

    @ApiModelProperty(value = "项目名字")
    private String projiectName;

    @ApiModelProperty(value = "项目logo")
    private String projiectLogo;

    @ApiModelProperty(value = "项目预算，保留两位小数，单位是元")
    private BigDecimal projectBudget;

    @ApiModelProperty(value = "项目简介")
    private String projectShortIntro;

    @ApiModelProperty(value = "项目介绍")
    private String projectIntroduction;

    @ApiModelProperty(value = "项目周期，单位是天")
    private String projectDuration;

    @ApiModelProperty(value = "项目开始时间")
    private Date startTime;

    @ApiModelProperty(value = "工作内容说明")
    private String workExplain;

    @ApiModelProperty(value = "项目结束时间")
    private Date endTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "最后一次更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "项目进度id")
    private Long scheduleId;

    @ApiModelProperty(value = "企业发布为1，个人发布为2")
    private Integer isCompanyPublish;

    @ApiModelProperty(value = "工作类型（0为全职，1为兼职，2为全职兼职都可以）")
    private Integer workType;

    @ApiModelProperty(value = "删除标志（默认为0，删除改为1）")
    private Integer deleteTag;

    @ApiModelProperty(value = "是否审核通过（通过为1，不通过为2）")
    private Integer approved;

    @ApiModelProperty(value = "审核人id")
    private Long approver;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjiectPublisherId() {
        return projiectPublisherId;
    }

    public void setProjiectPublisherId(Long projiectPublisherId) {
        this.projiectPublisherId = projiectPublisherId;
    }

    public String getProjiectName() {
        return projiectName;
    }

    public void setProjiectName(String projiectName) {
        this.projiectName = projiectName;
    }

    public String getProjiectLogo() {
        return projiectLogo;
    }

    public void setProjiectLogo(String projiectLogo) {
        this.projiectLogo = projiectLogo;
    }

    public BigDecimal getProjectBudget() {
        return projectBudget;
    }

    public void setProjectBudget(BigDecimal projectBudget) {
        this.projectBudget = projectBudget;
    }

    public String getProjectShortIntro() {
        return projectShortIntro;
    }

    public void setProjectShortIntro(String projectShortIntro) {
        this.projectShortIntro = projectShortIntro;
    }

    public String getProjectIntroduction() {
        return projectIntroduction;
    }

    public void setProjectIntroduction(String projectIntroduction) {
        this.projectIntroduction = projectIntroduction;
    }

    public String getProjectDuration() {
        return projectDuration;
    }

    public void setProjectDuration(String projectDuration) {
        this.projectDuration = projectDuration;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getWorkExplain() {
        return workExplain;
    }

    public void setWorkExplain(String workExplain) {
        this.workExplain = workExplain;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Integer getIsCompanyPublish() {
        return isCompanyPublish;
    }

    public void setIsCompanyPublish(Integer isCompanyPublish) {
        this.isCompanyPublish = isCompanyPublish;
    }

    public Integer getWorkType() {
        return workType;
    }

    public void setWorkType(Integer workType) {
        this.workType = workType;
    }

    public Integer getDeleteTag() {
        return deleteTag;
    }

    public void setDeleteTag(Integer deleteTag) {
        this.deleteTag = deleteTag;
    }

    public Integer getApproved() {
        return approved;
    }

    public void setApproved(Integer approved) {
        this.approved = approved;
    }

    public Long getApprover() {
        return approver;
    }

    public void setApprover(Long approver) {
        this.approver = approver;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", projiectPublisherId=").append(projiectPublisherId);
        sb.append(", projiectName=").append(projiectName);
        sb.append(", projiectLogo=").append(projiectLogo);
        sb.append(", projectBudget=").append(projectBudget);
        sb.append(", projectShortIntro=").append(projectShortIntro);
        sb.append(", projectIntroduction=").append(projectIntroduction);
        sb.append(", projectDuration=").append(projectDuration);
        sb.append(", startTime=").append(startTime);
        sb.append(", workExplain=").append(workExplain);
        sb.append(", endTime=").append(endTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", scheduleId=").append(scheduleId);
        sb.append(", isCompanyPublish=").append(isCompanyPublish);
        sb.append(", workType=").append(workType);
        sb.append(", deleteTag=").append(deleteTag);
        sb.append(", approved=").append(approved);
        sb.append(", approver=").append(approver);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}